Skip to content

Conversation

@MaxGhenis
Copy link
Contributor

Summary

  • Fix SourceType.administrativeSourceType.ADMINISTRATIVE (enum values are uppercase)
  • Fix type=source_type= parameter name in get_or_create_source()
  • Fix get_or_create_variable_group(): use category= instead of display_name=
  • Fix get_or_create_variable_metadata(): use group= instead of variable_group_id=, notes= instead of description=

These mismatches cause make database to fail on the etl_state_income_tax.py step.

Test plan

  • make database completes without errors
  • State income tax targets loaded correctly (51 states, $494.9B total)

🤖 Generated with Claude Code

@MaxGhenis MaxGhenis force-pushed the fix-etl-state-income-tax-api branch from 50316bf to 6c17625 Compare January 31, 2026 22:09
@MaxGhenis MaxGhenis closed this Jan 31, 2026
@MaxGhenis MaxGhenis reopened this Jan 31, 2026
- SourceType.administrative → SourceType.ADMINISTRATIVE (enum is uppercase)
- type= → source_type= (correct kwarg name)
- get_or_create_variable_group: display_name → category (required param)
- get_or_create_variable_metadata: variable_group_id → group, description → notes

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@MaxGhenis MaxGhenis force-pushed the fix-etl-state-income-tax-api branch from 6c17625 to 7de21fd Compare February 1, 2026 19:27
@MaxGhenis MaxGhenis merged commit 85ac0c6 into main Feb 1, 2026
7 checks passed
@MaxGhenis MaxGhenis deleted the fix-etl-state-income-tax-api branch February 1, 2026 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant